package com.slz3.business.module.systemManagement.sysUser;

import com.slz3.business.module.systemManagement.sysUser.steward.SysUserResponse;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import org.springframework.web.reactive.function.server.ServerRequest;
import org.springframework.web.reactive.function.server.ServerResponse;
import reactor.core.publisher.Mono;

@Component
@Order(0)
public class SysUserHandler {

    public Mono<ServerResponse> add(ServerRequest req) {
        return SysUserResponse.add(req);
    }

    public Mono<ServerResponse> delete(ServerRequest req) {
        return SysUserResponse.delete(req);
    }

    public Mono<ServerResponse> modify(ServerRequest req) {
        return SysUserResponse.modify(req);
    }

    public Mono<ServerResponse> list(ServerRequest req) {
        return SysUserResponse.list(req);
    }

    public Mono<ServerResponse> info(ServerRequest req) {
        return SysUserResponse.info(req);
    }

    public Mono<ServerResponse> choice(ServerRequest req) {
        return SysUserResponse.choice(req);
    }

    public Mono<ServerResponse> auditSubmit(ServerRequest req) {
        return SysUserResponse.auditSubmit(req);
    }

    public Mono<ServerResponse> audit(ServerRequest req) {
        return SysUserResponse.audit(req);
    }

    public Mono<ServerResponse> auditReject(ServerRequest req) {
        return SysUserResponse.auditReject(req);
    }

    public Mono<ServerResponse> usingEnable(ServerRequest req) {
        return SysUserResponse.usingEnable(req);
    }

    public Mono<ServerResponse> usingDisable(ServerRequest req) {
        return SysUserResponse.usingDisable(req);
    }

    public Mono<ServerResponse> register(ServerRequest req) {
        return SysUserResponse.register(req);
    }

    public Mono<ServerResponse> login(ServerRequest req) {
        return SysUserResponse.login(req);
    }

    public Mono<ServerResponse> logout(ServerRequest req) {
        return SysUserResponse.logout(req);
    }
}
